IAWP\Settings A

Total Complexity 66
Dependencies 7
Dependents 1
Total lines 350
Lines of code 296
Logical lines of code 187
Comment lines 14
Methods 37
Properties 0

Methods 37

Method Rating Maintainability Complexity Lines of code
render_settings()
S
49 4 25
get_editable_roles()
S
57 4 17
sanitize_view_counter_post_types()
S
61 4 13
register_view_counter_settings()
S
47 2 32
sanitize_view_counter_exclude()
S
61 3 12
sanitize_email_report_time()
S
63 3 11
sanitize_blocked_ips()
S
63 3 11
sanitize_email_report_colors()
S
64 3 10
sanitize_blocked_roles()
S
64 3 10
sanitize_email_addresses()
S
64 3 10
view_counter_post_types_callback()
S
59 2 13
register_settings()
S
52 1 21
sanitize_view_counter_position()
S
68 2 7
view_counter_label_callback()
S
72 2 4
__construct()
S
65 2 9
sanitize_view_counter_views_to_count()
S
66 2 7
sanitize_email_address()
S
67 2 8
sanitize_email_report_interval()
S
68 2 7
register_email_report_settings()
S
62 1 9
register_block_by_role_settings()
S
68 1 6
view_counter_icon_callback()
S
76 1 3
register_blocked_ip_settings()
S
68 1 6
view_counter_manual_adjustment_callback()
S
76 1 3
view_counter_private_callback()
S
76 1 3
view_counter_label_show_callback()
S
76 1 3
view_counter_exclude_callback()
S
76 1 3
view_counter_views_to_count_callback()
S
76 1 3
view_counter_position_callback()
S
76 1 3
view_counter_enable_callback()
S
76 1 3
refresh_salt_callback()
S
76 1 3
starting_dow_callback()
S
73 1 3
disable_views_column_callback()
S
76 1 3
disable_widget_callback()
S
76 1 3
disable_admin_toolbar_analytics_callback()
S
76 1 3
track_authenticated_users_callback()
S
76 1 3
dark_mode_callback()
S
76 1 3
email_report_colors()
S
77 1 3